import React from "react";
import { Link } from 'react-router-dom'
import { Routes, Route } from 'react-router'
import { BoradView } from "views/board";
import { EpicView } from "views/epic";

export const ProjecView = () => {
    return <div>
        <h1>Project</h1>
        <Link to={'board'}>看板</Link>
        <Link to={'epic'}>任务组</Link>
        <Routes>
            <Route path={'/board'} element={<BoradView/>}></Route>
            <Route path={'/epic'} element={<EpicView/>}></Route>
        </Routes>
    </div>
}